package io.wongxd.solution.compose.custom.views.util

import androidx.compose.ui.graphics.GraphicsLayerScope
import androidx.compose.ui.layout.AlignmentLine
import androidx.compose.ui.layout.Placeable
import androidx.compose.ui.unit.IntOffset

/**
 * effect : 表示不放置
 *          Means not to place
 */
object NotPlace : Placeable() {
    override fun get(alignmentLine: AlignmentLine): Int = Int.MIN_VALUE

    override fun placeAt(
        position: IntOffset,
        zIndex: Float,
        layerBlock: (GraphicsLayerScope.() -> Unit)?
    ) {
    }
}